package org.dtrd.modules.evaluation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.evaluation.entity.bean.DcpDetail;
import org.dtrd.modules.evaluation.entity.bean.DcpListInfo;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdDcp;
import org.dtrd.modules.evaluation.entity.request.DcpListRequest;

import java.util.List;

/**
 * <p>
 * 密西根糖尿病管理评定量表（DCP）服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-15
 */
public interface IDtrdEntEvaluationRdDcpService extends IService<DtrdEntEvaluationRdDcp> {

    List<DcpListInfo> getDcpList(DcpListRequest request);

    DcpDetail getDcpLatest(Integer patientId);

    DcpDetail saveOrUpdateDcp(DcpDetail dto);

    boolean removeDcp(Integer dataId);
}
